package com.le.tester.javaThink.fifth.chapter13_FuncProgramming;

import java.util.function.Function;

/**
 * 描述：消费或者生产函数
 */

interface FuncSS extends Function<String, String> {
}

public class ProduceFunction {
    static FuncSS produce() {
        return String::toLowerCase;
    }

    public static void main(String[] args) {
        FuncSS produce = produce();
        System.out.println(produce.apply("YELLING"));
    }
}
